package depthtag.filter;
import java.io.File;


public class ZXUFileFilter extends javax.swing.filechooser.FileFilter {

	@Override
	public boolean accept(File pathname) {  
	  String name = pathname.getName();
		if(name != null){
			name = name.toLowerCase();
			if(name.endsWith("zxu") || pathname.isDirectory()){
				return true;
			}
		}
		return false;
	}
	
	  public String getDescription () {
		    return "ZXU logs";
		  }
}
